package com.company;

public class L_Rectangle extends L_Figure {
    L_Rectangle(double d1,double d2)
    {
        super(d1,d2);
    }
    double area()
    {
        System.out.println("长方形的面积：");
        return super.dim1*super.dim2;
    }
}
